﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<title>交易合同</title>
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.min.js"></script>
<!-- <link rel="stylesheet" type="text/css" media="screen" href="../../css/redmond/jquery-ui.css" /> -->
<style type="text/css">
table {
	table-layout: fixed;
	word-wrap: break-word;
}

.tdlt {
	border-style: solid none none solid;
	border-color: #000000;
	border-top-width: 1px;
	border-left-width: 1px;
}

.tdl {
	border-style: none none none solid;
	border-color: #000000;
	border-left-width: 1px;
}

.tdlb {
	border-style: none none solid solid;
	border-color: #000000;
	border-left-width: 1px;
	border-bottom-width: 1px;
}

.tdb {
	border-color: #000000;
	border-style: none none solid none;
	border-top-width: 1px;
}

.tbrt {
	border-style: solid solid none none;
	border-top-width: 1px;
	border-right-width: 1px;
}

.tbr {
	border-style: none solid none none;
	border-right-width: 1px;
}

.tbrb {
	border-style: none solid solid none;
	border-right-width: 1px;
	border-bottom-width: 1px;
}

.tball {
	border: 1px solid #000000;
}

.style1 {
	border-top-width: 1px;
	border-right-width: 1px;
	width: 175px;
	border-left-style: none;
	border-right-style: solid;
	border-top-style: solid;
	border-bottom-style: none;
}

.style2 {
	border-right-width: 1px;
	width: 175px;
	border-left-style: none;
	border-right-style: solid;
	border-top-style: none;
	border-bottom-style: none;
}

.style3 {
	border-right-width: 1px;
	border-bottom-width: 1px;
	width: 175px;
	border-left-style: none;
	border-right-style: solid;
	border-top-style: none;
	border-bottom-style: solid;
}

.style4 {
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
	width: 138px;
	border-right-style: none;
	border-right-color: #000000;
	border-bottom-style: none;
	border-bottom-color: #000000;
}

.style5 {
	border-left: 1px solid #000000;
	width: 138px;
	border-right-style: none;
	border-right-color: #000000;
	border-top-style: none;
	border-top-color: #000000;
	border-bottom-style: none;
	border-bottom-color: #000000;
}

.style6 {
	border-left: 1px solid #000000;
	border-bottom: 1px solid #000000;
	width: 138px;
	border-right-style: none;
	border-right-color: #000000;
	border-top-style: none;
	border-top-color: #000000;
}

.style7 {
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
	width: 133px;
	border-right-style: none;
	border-right-color: #000000;
	border-bottom-style: none;
	border-bottom-color: #000000;
}

.style8 {
	border-left: 1px solid #000000;
	width: 133px;
	border-right-style: none;
	border-right-color: #000000;
	border-top-style: none;
	border-top-color: #000000;
	border-bottom-style: none;
	border-bottom-color: #000000;
}

.style9 {
	border-left: 1px solid #000000;
	border-bottom: 1px solid #000000;
	width: 133px;
	border-right-style: none;
	border-right-color: #000000;
	border-top-style: none;
	border-top-color: #000000;
}

.style10 {
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
	width: 100px;
	border-right-style: none;
	border-right-color: #000000;
	border-bottom-style: none;
	border-bottom-color: #000000;
}

.style11 {
	border-left: 1px solid #000000;
	width: 100px;
	border-right-style: none;
	border-right-color: #000000;
	border-top-style: none;
	border-top-color: #000000;
	border-bottom-style: none;
	border-bottom-color: #000000;
}

.style12 {
	border-left: 1px solid #000000;
	border-bottom: 1px solid #000000;
	width: 100px;
	border-right-style: none;
	border-right-color: #000000;
	border-top-style: none;
	border-top-color: #000000;
}

.auto-style1 {
	border: 1px solid #000000;
	height: 25px;
}

.auto-style2 {
	width: 100px;
	height: 16px;
}

.auto-style3 {
	height: 16px;
}
</style>
<style media="print" type="text/css">
.noprint {
	visibility: hidden;
}
</style>
<script type="text/javascript">
		$(function () {
            if(${vEcpHetinfoPage.zhuangt} == 4){
				$("#queren").hide();
			}
        });
		$(function () {
			if(${vEcpHetinfoPage.zhuangt} == 1){
				$("#tuihui").hide();
			}
		});
		$(function () {
			if(${vEcpHetinfoPage.zhuangt} == 2 || ${vEcpHetinfoPage.zhuangt} == 3){
				$("#tuihui").show();
				$("#queren").show();
				$("#querenjy").show();
			}
		});



        $(function gethetfj() {
			var name = $("#hetfjName").val();
			var name1 = name.substring(42,name.length);
			$("#hetfj").text(name1);
		});
</script>
</head>
<body style="font-size: 9pt;">
	<%-- <object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0"
        width="0">
    </object>--%>
	<form id="form1" runat="server" action="vEcpHetinfoController.do?doConfirm" name="form1" method="post">
		<input id="Hetid" name="Hetid" type="hidden" value="${vEcpHetinfoPage.hetid}" />
		<div>
			<table width="99%">
				<tr>
					<td align="center">
						<table width="1350px">
							<tr>
								<td colspan="6" align="center"
									style="font-size: xx-large; font-weight: bold" height="30">&nbsp;&nbsp;&nbsp;&nbsp;
									交易合同</td>
							</tr>
							<tr>
								<td align="left" class="auto-style2">出卖人:</td>
								<td align="left" width="350" class="auto-style3"><asp:Label
										ID="lblCHUMDWW" runat="server" Text="">${vEcpHetinfoPage.chumdwmc }</asp:Label>
								</td>
								<td width="100px" align="left" class="auto-style3">企业合同号:</td>
								<td width="350px" align="left" class="auto-style3"><asp:Label
										ID="lblHETLRBH" runat="server" Text="dfsfdsf">${vEcpHetinfoPage.hetlrbh}</asp:Label></td>
								<td width="120px" align="left" class="auto-style3">装车地:</td>
								<td align="left" class="auto-style3"><asp:Label
										ID="lblMEIYDID" runat="server" Text="">${vEcpHetinfoPage.meiydid }</asp:Label>
								</td>
							</tr>
							<tr>
								<td align="left">买受人:</td>
								<td align="left"><asp:Label ID="lblMAISDW" runat="server"
										Text="">${vEcpHetinfoPage.maisdwmc }</asp:Label></td>
								<td align="left">签约地点:</td>
								<td align="left"><asp:Label ID="lblQIANDDD" runat="server"
										Text="">${vEcpHetinfoPage.qianydd }</asp:Label></td>
								<td align="left">卸车地:</td>
								<td align="left"><asp:Label ID="lblDAODSSDNAME" runat="server"
										Text="">${vEcpHetinfoPage.daodssdname }</asp:Label></td>
							</tr>
							<tr>
								<td align="left">发货单位:</td>
								<td align="left"><asp:Label ID="lblFAHDWMC" runat="server"
										Text="">${vEcpHetinfoPage.fahdwmc }</asp:Label></td>
								<td align="left">价格类型:</td>
								<td align="left"><asp:Label ID="lblJIAGLXMC" runat="server"
										Text="">${vEcpHetinfoPage.jiaglxmc }</asp:Label></td>
								<td align="left">合同形式:</td>
								<td align="left"><asp:Label ID="lblHETXSNAME"
										runat="server" Text="">${vEcpHetinfoPage.hetxsname }</asp:Label>
								</td>
							</tr>
							<tr>
								<td align="left">签订时间:</td>
								<td align="left"><asp:Label ID="lblQIANDSJ" runat="server"
										Text="">${vEcpHetinfoPage.qianysj }</asp:Label></td>
								<%-- <td align="left">到达省市:</td>
								<td align="left">
									  <asp:Label ID="lblHETXS" runat="server" Text=""></asp:Label>
									<asp:Label ID="lblDAODSSD" runat="server" Text="">${vEcpHetinfoPage.daodssd}</asp:Label>
								</td> --%>
								<td align="left">出省通道:</td>
								<td align="left"><asp:Label ID="lblCHUSTDMC"
										runat="server" Text="">${vEcpHetinfoPage.chustdmc }</asp:Label>
								</td>
								<td align="left">内部编号:</td>
								<td align="left"><asp:Label ID="lblMINETYPE"
										runat="server" Text="">${vEcpHetinfoPage.hetlrbh }</asp:Label>
								</td>
							</tr>
							<tr>
								<td align="left">承运方:</td>
								<td align="left"><asp:Label ID="lblCONTRACTORBM" runat="server"
										Text="">${fullname }</asp:Label></td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
							</tr>
							<tr>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
							</tr>
							<tr>
								<td align="left" colspan="2">一、收货人名称、品种规格、数量、单价</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
								<td align="left">&nbsp;</td>
							</tr>
						</table></td>
				</tr>
				<tr>
					<td align="center">
						<table width="1350px" cellpadding="0" cellspacing="0"
							style="border: 1px solid #000000; border-collapse: collapse">
							<tr>
								<td rowspan="3" class="tball" style="width: 220px">收货人名称</td>
								<td rowspan="3" style="width: 80px" class="tball">品名 <br />
								<td rowspan="3" style="width: 80px" class="tball">品种规格 <br />
								</td>
								<td rowspan="3" style="width: 120px" class="tball">质量指标</td>
								<td rowspan="3" class="tball" style="width: 100px">价格(元/<span>${vEcpHetinfoPage.unit}</span>)</td>
								<td colspan="13" align="center" height="25px" class="tball">交（提）货时间、数量（<span>${vEcpHetinfoPage.shul}</span>）</td>
							</tr>
							<tr>
								<td rowspan="2" width="80px" align="center" class="tball">全年合计
								</td>
								<td colspan="3" width="120px" align="center" height="25px"
									class="tball">一季度</td>
								<td colspan="3" width="120px" align="center" class="tball">二季度
								</td>
								<td colspan="3" width="120px" align="center" class="tball">三季度
								</td>
								<td colspan="3" width="120px" align="center" class="tball">四季度
								</td>
							</tr>
							<tr>
								<td align="center" height="25px" class="tball" width="50">1
								</td>
								<td align="center" class="tball" width="50">2</td>
								<td align="center" class="tball" width="50">3</td>
								<td align="center" class="tball" width="50">4</td>
								<td align="center" class="tball" width="50">5</td>
								<td align="center" class="tball" width="50">6</td>
								<td align="center" class="tball" width="50">7</td>
								<td align="center" class="tball" width="50">8</td>
								<td align="center" class="tball" width="50">9</td>
								<td align="center" class="tball" width="50">10</td>
								<td align="center" class="tball" width="50">11</td>
								<td align="center" class="tball" width="50">12</td>
							</tr>
							<%-- <%=GongMLStr %> --%>
							<tr>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.maisrssdwmc }</asp:Label>
								</td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.productname }</asp:Label>
								</td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.pinzgg }</asp:Label>
								</td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.zhilzb }</asp:Label>
								</td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.jiag }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.shul }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml1 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml2 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml3 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml4 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml5 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml6 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml7 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml8 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml9 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml10 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml11 }</asp:Label></td>
								<td align="left" class="tball" width="50"><asp:Label
										runat="server" Text="">${vEcpHetinfoPage.gml12 }</asp:Label></td>
							</tr>
						</table></td>
				</tr>
				<tr>
					<td align="center">
						<table width="1350px" cellpadding="0" cellspacing="0"
							style="border-style: none none solid none; border-width: 1px; border-color: #000000; border-collapse: collapse"
							border="1">
							<c:forEach items="${tiaoKList}" var="list" varStatus="stuts">
								<tr>
									<td align="left" class="tball" height="30px" width="210px">
									  <c:choose>
									    <c:when test="${(stuts.index + 1)  == 1}">二、${list.biaot}</c:when>
                                        <c:when test="${(stuts.index + 1)  == 2}">三、${list.biaot}</c:when>
                                        <c:when test="${(stuts.index + 1)  == 3}">四、${list.biaot}</c:when>
                                        <c:when test="${(stuts.index + 1)  == 4}">五、${list.biaot}</c:when>
                                        <c:when test="${(stuts.index + 1)  == 5}">六、${list.biaot}</c:when>
									    <c:when test="${(stuts.index + 1)  == 6}">七、${list.biaot}</c:when>
									    <c:when test="${(stuts.index + 1)  == 7}">八、${list.biaot}</c:when>
									    <c:when test="${(stuts.index + 1)  == 8}">九、${list.biaot}</c:when>
								      </c:choose>
								    </td>
									<td align="left">${list.neir}</td>
								</tr>
							</c:forEach>
						</table></td>
				</tr>
				<tr>
					<td align="center">
						<table width="1350px" border="1" cellpadding="0" cellspacing="0"
							style="border: 1px solid #000000; border-collapse: collapse">
							<tr>
								<td colspan="4" align="center" class="auto-style1" width="520px">出卖人
								</td>
								<td colspan="4" align="center" width="520px" class="auto-style1">买受人
								</td>
							</tr>
							<tr>
								<td width="100px" class="tdlt" height="25px" align="left">出卖人名称(章):
								</td>
								<td class="style1" align="left"><asp:Label ID="lblCHUMDWMC"
										runat="server" Text="">${vEcpHetinfoPage.chumdwmc }</asp:Label>
								</td>
								<td class="style4" align="left">委托结算单位名称(章):</td>
								<td class="tbrt" align="left"><asp:Label
										ID="lblCHUMDWJSRMC" runat="server" Text="">${vEcpHetinfoPage.chumdwjsrmc }</asp:Label>
								</td>
								<td class="style10" align="left">买受人名称(章)：</td>
								<td class="style1" align="left"><asp:Label ID="lblMAISDWMC"
										runat="server" Text="">${vEcpHetinfoPage.maisdwmc }</asp:Label>
								</td>
								<td class="style7" align="left">委托结算单位名称(章)：</td>
								<td class="tbrt" align="left"><asp:Label
										ID="lblMAISDWJSRMC" runat="server" Text="">${vEcpHetinfoPage.maisdwjsrmc }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">住 所：</td>
								<td class="style2" align="left"><asp:Label ID="lblCHUMDWZS"
										runat="server" Text="">${vEcpHetinfoPage.chumdwdz }</asp:Label>
								</td>
								<td class="style5" align="left">住 所：</td>
								<td class="tbr" align="left"><asp:Label ID="lblCHUMDWJSRZS"
										runat="server" Text="">${vEcpHetinfoPage.chumdwjsrdz }</asp:Label>
								</td>
								<td class="style11" align="left">住 所：</td>
								<td class="style2" align="left"><asp:Label ID="lblMAISDWZS"
										runat="server" Text="">${vEcpHetinfoPage.maisdwdz }</asp:Label>
								</td>
								<td class="style8" align="left">住 所：</td>
								<td class="tbr" align="left"><asp:Label ID="lblMAISDWJSRZS"
										runat="server" Text="">${vEcpHetinfoPage.maisdwjsrdz }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">法定代表人:</td>
								<td class="style2" align="left"><asp:Label
										ID="lblCHUMDWFDDBR" runat="server" Text="">${vEcpHetinfoPage.chumdwfddbr }</asp:Label>
								</td>
								<td class="style5" align="left">法定代表人:</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblCHUMDWJSRFDDBR" runat="server" Text="">${vEcpHetinfoPage.chumdwjsrfddbr }</asp:Label>
								</td>
								<td class="style11" align="left">法定代表人:</td>
								<td class="style2" align="left"><asp:Label
										ID="lblMAISDWFDDBR" runat="server" Text="">${vEcpHetinfoPage.maisdwfddbr }</asp:Label>
								</td>
								<td class="style8" align="left">法定代表人:</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblMAISDWJSRFDDBR" runat="server" Text="">${vEcpHetinfoPage.maisdwjsrfddbr }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">委托代理人:</td>
								<td class="style2" align="left"><asp:Label
										ID="lblCHUMDWWTDLR" runat="server" Text="">${vEcpHetinfoPage.chumdwwtdlr }</asp:Label>
								</td>
								<td class="style5" align="left">委托代理人:</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblCHUMDWJSRWTDLR" runat="server" Text="">${vEcpHetinfoPage.chumdwjsrwtdlr }</asp:Label>
								</td>
								<td class="style11" align="left">委托代理人:</td>
								<td class="style2" align="left"><asp:Label
										ID="lblMAISDWWTDLR" runat="server" Text="">${vEcpHetinfoPage.maisdwwtdlr }</asp:Label>
								</td>
								<td class="style8" align="left">委托代理人:</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblMAISDWJSRWTDLR" runat="server" Text="">${vEcpHetinfoPage.maisdwjsrwtdlr }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">电 话：</td>
								<td class="style2" align="left"><asp:Label ID="lblCHUMDWDH"
										runat="server" Text="">${vEcpHetinfoPage.chumdwdh }</asp:Label>
								</td>
								<td class="style5" align="left">电 话：</td>
								<td class="tbr" align="left"><asp:Label ID="lblCHUMDWJSRDH"
										runat="server" Text="">${vEcpHetinfoPage.chumdwjsrdh }</asp:Label>
								</td>
								<td class="style11" align="left">电 话：</td>
								<td class="style2" align="left"><asp:Label ID="lblMAISDWDH"
										runat="server" Text="">${vEcpHetinfoPage.maisdwdh }</asp:Label>
								</td>
								<td class="style8" align="left">电 话：</td>
								<td class="tbr" align="left"><asp:Label ID="lblMAISDWJSRDH"
										runat="server" Text="">${vEcpHetinfoPage.maisdwjsrdh }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">传 真:</td>
								<td class="style2" align="left"><asp:Label ID="lblCHUMDWCZ"
										runat="server" Text="">${vEcpHetinfoPage.chumdwcz }</asp:Label>
								</td>
								<td class="style5" align="left">传 真:</td>
								<td class="tbr" align="left"><asp:Label ID="lblCHUMDWJSRCZ"
										runat="server" Text="">${vEcpHetinfoPage.chumdwjsrcz }</asp:Label>
								</td>
								<td class="style11" align="left">传 真:</td>
								<td class="style2" align="left"><asp:Label ID="lblMAISDWCZ"
										runat="server" Text="">${vEcpHetinfoPage.maisdwcz }</asp:Label>
								</td>
								<td class="style8" align="left">传 真:</td>
								<td class="tbr" align="left"><asp:Label ID="lblMAISDWJSRCZ"
										runat="server" Text="">${vEcpHetinfoPage.maisdwjsrcz }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">邮政编码：</td>
								<td class="style2" align="left"><asp:Label
										ID="lblCHUMDWYZBM" runat="server" Text="">${vEcpHetinfoPage.chumdwyzbm }</asp:Label>
								</td>
								<td class="style5" align="left">邮政编码：</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblCHUMDWJSRYZBM" runat="server" Text="">${vEcpHetinfoPage.chumdwjsryzbm }</asp:Label>
								</td>
								<td class="style11" align="left">邮政编码：</td>
								<td class="style2" align="left"><asp:Label
										ID="lblMAISDWYZBM" runat="server" Text="">${vEcpHetinfoPage.maisdwyzbm }</asp:Label>
								</td>
								<td class="style8" align="left">邮政编码：</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblMAISDWJSRYZBM" runat="server" Text="">${vEcpHetinfoPage.maisdwjsryzbm }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">开户银行：</td>
								<td class="style2" align="left"><asp:Label
										ID="lblCHUMDWKHYH" runat="server" Text="">${vEcpHetinfoPage.chumdwkhyh }</asp:Label>
								</td>
								<td class="style5" align="left">开户银行：</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblCHUMDWJSRKHYH" runat="server" Text="">${vEcpHetinfoPage.chumdwjsrkhyh }</asp:Label>
								</td>
								<td class="style11" align="left">开户银行：</td>
								<td class="style2" align="left"><asp:Label
										ID="lblMAISDWKHYH" runat="server" Text="">${vEcpHetinfoPage.maisdwkhyh }</asp:Label>
								</td>
								<td class="style8" align="left">开户银行：</td>
								<td class="tbr" align="left"><asp:Label
										ID="lblMAISDWJSRKHYH" runat="server" Text="">${vEcpHetinfoPage.maisdwjsrkhyh }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdl" height="25px" align="left">帐号：</td>
								<td class="style2" align="left"><asp:Label ID="lblCHUMDWZH"
										runat="server" Text="">${vEcpHetinfoPage.chumdwzh }</asp:Label>
								</td>
								<td class="style5" align="left">帐号：</td>
								<td class="tbr" align="left"><asp:Label ID="lblCHUMDWJSRZH"
										runat="server" Text="">${vEcpHetinfoPage.chumdwjsrzh }</asp:Label>
								</td>
								<td class="style11" align="left">帐号：</td>
								<td class="style2" align="left"><asp:Label ID="lblMAISDWZH"
										runat="server" Text="">${vEcpHetinfoPage.maisdwzh }</asp:Label>
								</td>
								<td class="style8" align="left">帐号：</td>
								<td class="tbr" align="left"><asp:Label ID="lblMAISDWJSRZH"
										runat="server" Text="">${vEcpHetinfoPage.maisdwjsrzh }</asp:Label>
								</td>
							</tr>
							<tr>
								<td class="tdlb" height="25px" align="left">纳税人登记号：</td>
								<td class="style3" align="left"><asp:Label
										ID="lblCHUMDWNSRDJH" runat="server" Text="">${vEcpHetinfoPage.chumdwnsrdjh }</asp:Label>
								</td>
								<td class="style6" align="left">纳税人登记号：</td>
								<td class="tbrb" align="left"><asp:Label
										ID="lblCHUMDWJSRNSRDJH" runat="server" Text="">${vEcpHetinfoPage.chumdwjsrnsrdjh }</asp:Label>
								</td>
								<td class="style12" align="left">纳税人登记号：</td>
								<td class="style3" align="left"><asp:Label
										ID="lblMAISDWNSRDJH" runat="server" Text="">${vEcpHetinfoPage.maisdwnsrdjh }</asp:Label>
								</td>
								<td class="style9" align="left">纳税人登记号：</td>
								<td class="tbrb" align="left"><asp:Label
										ID="lblMAISDWJSRNSRDJH" runat="server" Text="">${vEcpHetinfoPage.maisdwjsrnsrdjh }</asp:Label>
								</td>
							</tr>
						</table></td>
				</tr>
				<tr>
					<td align="center">
						<table width="1350px">
							<tr>
								<td align="left" style="width:75%;padding-top:10px">系统合同编码: <asp:Label
										ID="lblHETBH" runat="server" Text="">${vEcpHetinfoPage.hetbh }</asp:Label>
								</td>
								<td align="right" style="width:28%">&nbsp;年度: <asp:Label
										ID="lblNIANF" runat="server" Text="">${vEcpHetinfoPage.nianf }</asp:Label>
									&nbsp;有效期限: <asp:Label ID="lblYOUXQXKSSJ" runat="server"
										Text="">${vEcpHetinfoPage.youxqxkssj }</asp:Label>至<asp:Label
										ID="lblYOUXQXJSSJ" runat="server" Text="">${vEcpHetinfoPage.youxqxjssj }</asp:Label>
								</td>
							</tr>
							<tr runat="server" id="TrAttach" visible="false">
								<td colspan="4" align="left" style="padding-top:10px">
									<div>合同附件:</div>
									<c:forEach items="${sysAttachList }" var="list">
										<c:if test="${list.objurl!=null&&list.objurl!='' }">
											<div id="attachList" runat="server" style="display:inline;">
												<a href = "https://jyimg.hncldc.com/${list.objurl}">合同-附件</a>
												<input id="hetfjName" type="hidden" value="${list.objurl }"/>
											</div>
										</c:if>
									</c:forEach>
								</td>
							</tr>
						</table></td>
				</tr>
				<tr>
					<td colspan="9" align="center">
						<c:if test="${vEcpHetinfoPage.dongzbm == '30'}">
							<input id="querenjy" class="noprint" type="button" name="" value="归档交易合同" />
						</c:if>
						<c:if test="${vEcpHetinfoPage.dongzbm == '32'}">
							<input id="querencx" class="noprint" type="button" name="" value="归档长协合同" />
						</c:if>
						<c:if test="${vEcpHetinfoPage.dongzbm != '30' && vEcpHetinfoPage.dongzbm != '32' }">
							<input id="queren" class="noprint" type="button" name="" value="归档" />
						</c:if>
						<input id="tuihui" class="noprint" type="button" name="" value="退回" />
						<input id="fanhui" class="noprint" type="button" name="" value="返回" onclick="window.close(-1)" />
					</td>
				</tr>
			</table>
		</div>
	</form>
</body>
</html>
<script type="text/javascript">
		$("#queren").click(function () {
			/* $("#form1").submit(); */
			$.ajax({
            //几个参数需要注意一下
                type: "POST",//方法类型
                dataType: "json",//预期服务器返回的数据类型
                url: "vEcpHetglinfoController.do?doConfirm" ,//url
                data: $('#form1').serialize(),
                success: function (result) {
                    console.log(result);//打印服务端返回的数据(调试用)
                    if (result.success == true) {
                        alert("归档成功");
                        window.close(-1);
                    }
                    ;
                },
                error : function() {
                    alert("异常！");
                }
            });
		})

		$("#querenjy").click(function () {
			/* $("#form1").submit(); */
			$.ajax({
				//几个参数需要注意一下
				type: "POST",//方法类型
				dataType: "json",//预期服务器返回的数据类型
				url: "vEcpHetglinfoController.do?doConfirmByJiaoY" ,//url
				data: $('#form1').serialize(),
				success: function (result) {
					console.log(result);//打印服务端返回的数据(调试用)
					if (result.success == true) {
						alert("归档成功");
						window.close(-1);
					}
					;
				},
				error : function() {
					alert("异常！");
				}
			});
		})

		$("#querencx").click(function () {
			/* $("#form1").submit(); */
			$.ajax({
				//几个参数需要注意一下
				type: "POST",//方法类型
				dataType: "json",//预期服务器返回的数据类型
				url: "vEcpHetglinfoController.do?doConfirmByCx" ,//url
				data: $('#form1').serialize(),
				success: function (result) {
					console.log(result);//打印服务端返回的数据(调试用)
					if (result.success == true) {
						alert("归档成功");
						window.close(-1);
					}

				},
				error : function() {
					alert("异常！");
				}
			});
		})

		$("#tuihui").click(function () {
			$.ajax({
            //几个参数需要注意一下
                type: "POST",//方法类型
                dataType: "json",//预期服务器返回的数据类型
                url: "vEcpHetglinfoController.do?doBack" ,//url
                data: $('#form1').serialize(),
                success: function (result) {
                    console.log(result);//打印服务端返回的数据(调试用)
                    if (result.success == true) {
                        alert(result.msg);
                        window.close(-1);
                    }
                    ;
                },
                error : function() {
                    alert("异常！");
                }
            });
		})
</script>
